import { request } from '/@/utils/http/axios';




// 远程关闭连接 
export const closeSseConnection = (params) => {
  return request({
    url: '/sseApi/sse/closeSseConnect',
    method: "GET",
    params
  });
}


// onModifyYear
/**
 * 发送消息
 * @param {object} params 
 * @returns 
 */  
export const seedSseConnection = (params) => {
  return request({
    url: '/sseApi/sse/sendMessage',
    method: "POST",
    params
  });
}
